package javazuoye;

/**
 * @author: 唐小尊
 * @email: 1171702529@qq.com
 * @cate: 2021/07/03 22:05
 */
public class Test {
    public static void main(String[] args) {
        Test test = new Test("123", "123");
    }
    private int id;
    private String username;
    private String password;

    public Test(String username, String password) {
        this.username = username;
        this.password = password;
    }
//权限修饰  返回值类型  方法名(参数)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
